package com.mt.mall.controller.Buy;

import com.mt.common.core.web.JsonResult;
import com.mt.mall.entity.Order.Order;
import org.springframework.web.bind.annotation.*;

/**
 * @ClassName: BuyController
 * @Description:
 * @Author zhanghong
 * @Date 2022/5/14
 */
@RestController
@RequestMapping("/api/mall")
@CrossOrigin(allowCredentials = "true")
public class BuyController {
    @PostMapping("/buy")
    public JsonResult buyGood(@RequestBody Order order){
        return JsonResult.ok();
    }
}
